﻿using System;
using TSites.Utils;

namespace TSites.EmailEntity.Entities
{
	[Serializable]
	public abstract class EmailMsgBase : LoggerBase
	{
		public string MailTo { get; set; }
		public string[] CC { get; set; }
		public string[] BCC { get; set; }
		public string Subject { get; set; }
		public string AttachedFile { get; set; }
		public string Body { get; set; }
		public string Locale { get; set; }

		public abstract void BuildSubjectBody();

		protected override Type LogPrefix
		{
			get { return this.GetType(); }
		}
	}
}
